import persistence from 'vuex-uniapp-persistence'

export default {
  // 命名空间
  namespaced: true,
  plugins: [persistence()], //vuex数据持久化
  state: {
    profile: NaN
  },
  getters: {},
  mutations: {
    setProfile (state, profile) {
      state.profile = profile
    }
  },
  actions: {}
}
